replace obsolete and overloaded QProcess signal error(QProcess::ProcessError error...
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Thu, 4 Feb 2021 22:56:38 +0000 (15:56 -0700)
committerGitHub <noreply@github.com>
Thu, 4 Feb 2021 22:56:38 +0000 (15:56 -0700)
with the recommended replacement, QProcess signal errorOccurred(QProcess::ProcessError error).
It seems this should have caused an issue in Qt6, but we hadn't noticed it yet.

gui/processwait.cc

index 33a4ef84976dcf763bdf380774fdfb79a59065aa..a612b5c23c6e2e14d0ce93aa20c2e28cf715865a 100644 (file)
@@ -82,7 +82,7 @@ ProcessWaitDialog::ProcessWaitDialog(QWidget* parent, QProcess* process):
   btn->setText(tr("Stop Process"));
   layout->addWidget(buttonBox_);
 
-  connect(process, SIGNAL(error(QProcess::ProcessError)),
+  connect(process, SIGNAL(errorOccurred(QProcess::ProcessError)),
           this,    SLOT(errorX(QProcess::ProcessError)));
   connect(process, SIGNAL(finished(int,QProcess::ExitStatus)),
           this,    SLOT(finishedX(int,QProcess::ExitStatus)));